import Template from './Section.vue'
import {mapGetters} from 'vuex'

export default {
    name: 'Section',
    mixins: [Template],
    data() {
        return {
            breadlist: []
        }
    },
    methods: {
        getBreadList() {
            this.breadlist = this.$route.matched
        }
    },
    created() {
        this.getBreadList()
    },
    watch: {
        $route() {
            console.dir(this.breadlist)
            this.breadlist = this.$route.matched
        }
    }
}
